package cn.admin.configcenter.configservice.persist;

import cn.admin.configcenter.configservice.domain.ConfigInfo;
import cn.admin.configcenter.configservice.domain.Page;

public interface ConfigAdvancedDAO {

	Page<ConfigInfo> findConfigInfoByDataIdAndGroup(int pageNo, int pageSize, String group,
                                                    String dataId);

	Page<ConfigInfo> findConfigInfoByDataId(int pageNo, int pageSize, String dataId);

	Page<ConfigInfo> findConfigInfoByGroup(int pageNo, int pageSize, String group);

	Page<ConfigInfo> findAllConfigInfo(int pageNo, int pageSize);

	Page<ConfigInfo> findConfigInfoLike(int pageNo, int pageSize, String dataId,
                                        String group, String content, String srcIp);
	
	Page<ConfigInfo> findPublishedConfigInfoByIp(int pageNo, int pageSize,
                                                 String clientIp);
	

}
